[INFO] cloning repository https://github.com/tensor-programming/st_alloc
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tensor-programming/st_alloc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftensor-programming%2Fst_alloc", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftensor-programming%2Fst_alloc'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 849679a83e5d2efd038a85351cba31f839f5a1ac
[INFO] building tensor-programming/st_alloc against master#ff34b919075f35a1787659e9c448a34b06bab8de for issue-85264
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftensor-programming%2Fst_alloc" "/workspace/builds/worker-2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/tensor-programming/st_alloc on toolchain ff34b919075f35a1787659e9c448a34b06bab8de
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/tensor-programming/st_alloc
[INFO] finished tweaking git repo https://github.com/tensor-programming/st_alloc
[INFO] tweaked toml for git repo https://github.com/tensor-programming/st_alloc written to /workspace/builds/worker-2/source/Cargo.toml
[INFO] crate git repo https://github.com/tensor-programming/st_alloc already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] d5549f561a04dbb324694b338c7d9dceb5f6316c6d014198d3b818bdda9fc0a8
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "d5549f561a04dbb324694b338c7d9dceb5f6316c6d014198d3b818bdda9fc0a8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d5549f561a04dbb324694b338c7d9dceb5f6316c6d014198d3b818bdda9fc0a8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d5549f561a04dbb324694b338c7d9dceb5f6316c6d014198d3b818bdda9fc0a8", kill_on_drop: false }`
[INFO] [stdout] d5549f561a04dbb324694b338c7d9dceb5f6316c6d014198d3b818bdda9fc0a8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b185ee8aac79da16377a2724476898a8fc42290a730867bb741ec38f8b67d8fe
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "b185ee8aac79da16377a2724476898a8fc42290a730867bb741ec38f8b67d8fe", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.82
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]    Compiling winapi v0.3.9
[INFO] [stderr]    Compiling errno v0.2.7
[INFO] [stderr]    Compiling sysconf v0.3.4
[INFO] [stderr]    Compiling allocator v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]    --> src/allocator.rs:166:21
[INFO] [stdout]     |
[INFO] [stdout] 166 |         use winapi::um::{
[INFO] [stdout]     |                     ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]    --> src/allocator.rs:183:21
[INFO] [stdout]     |
[INFO] [stdout] 183 |         use winapi::um::winnt::MEM_RELEASE;
[INFO] [stdout]     |                     ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]    --> src/allocator.rs:184:21
[INFO] [stdout]     |
[INFO] [stdout] 184 |         use winapi::um::{errhandlingapi::GetLastError, memoryapi::VirtualFree};
[INFO] [stdout]     |                     ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]    --> src/allocator.rs:197:21
[INFO] [stdout]     |
[INFO] [stdout] 197 |         use winapi::shared::minwindef::DWORD;
[INFO] [stdout]     |                     ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]    --> src/allocator.rs:198:21
[INFO] [stdout]     |
[INFO] [stdout] 198 |         use winapi::um::{errhandlingapi::GetLastError, memoryapi::VirtualProtect};
[INFO] [stdout]     |                     ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]    --> src/allocator.rs:316:17
[INFO] [stdout]     |
[INFO] [stdout] 316 |     use winapi::um::{memoryapi::VirtualAlloc, winnt::MEM_COMMIT};
[INFO] [stdout]     |                 ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]    --> src/allocator.rs:323:17
[INFO] [stdout]     |
[INFO] [stdout] 323 |     use winapi::um::{errhandlingapi::GetLastError, memoryapi::VirtualFree, winnt::MEM_DECOMMIT};
[INFO] [stdout]     |                 ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]    --> src/allocator.rs:338:9
[INFO] [stdout]     |
[INFO] [stdout] 338 |         shared::minwindef::DWORD,
[INFO] [stdout]     |         ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]    --> src/allocator.rs:339:9
[INFO] [stdout]     |
[INFO] [stdout] 339 |         um::{errhandlingapi::GetLastError, memoryapi::VirtualProtect},
[INFO] [stdout]     |         ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]    --> src/allocator.rs:382:21
[INFO] [stdout]     |
[INFO] [stdout] 382 |         use winapi::um::memoryapi::VirtualQuery;
[INFO] [stdout]     |                     ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]   --> src/secure/alloc.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 |     shared::{
[INFO] [stdout]    |     ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/secure/alloc.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 |     um::memoryapi::{VirtualLock, VirtualProtect, VirtualUnlock},
[INFO] [stdout]    |     ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]  --> src/secure/prot.rs:1:17
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub use winapi::shared::minwindef::DWORD as Ty;
[INFO] [stdout]   |                 ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `winapi::um`
[INFO] [stdout]  --> src/permissions.rs:1:13
[INFO] [stdout]   |
[INFO] [stdout] 1 | use winapi::um::winnt;
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]    --> src/allocator.rs:387:38
[INFO] [stdout]     |
[INFO] [stdout] 387 |             let mut meminfo: winapi::um::winnt::MEMORY_BASIC_INFORMATION =
[INFO] [stdout]     |                                      ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]    --> src/allocator.rs:389:51
[INFO] [stdout]     |
[INFO] [stdout] 389 |             let mbi_size = mem::size_of::<winapi::um::winnt::MEMORY_BASIC_INFORMATION>();
[INFO] [stdout]     |                                                   ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/secure/alloc.rs:71:13
[INFO] [stdout]    |
[INFO] [stdout] 71 |     winapi::um::sysinfoapi::GetSystemInfo(si.as_mut_ptr());
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/secure/prot.rs:3:34
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub const NoAccess: Ty = winapi::um::winnt::PAGE_NOACCESS;
[INFO] [stdout]   |                                  ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/secure/prot.rs:4:34
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub const ReadOnly: Ty = winapi::um::winnt::PAGE_READONLY;
[INFO] [stdout]   |                                  ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/secure/prot.rs:5:35
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub const ReadWrite: Ty = winapi::um::winnt::PAGE_READWRITE;
[INFO] [stdout]   |                                   ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/secure/prot.rs:6:35
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub const WriteCopy: Ty = winapi::um::winnt::PAGE_WRITECOPY;
[INFO] [stdout]   |                                   ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/secure/prot.rs:7:33
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub const Execute: Ty = winapi::um::winnt::PAGE_EXECUTE;
[INFO] [stdout]   |                                 ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/secure/prot.rs:8:34
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub const ReadExec: Ty = winapi::um::winnt::PAGE_EXECUTE_READ;
[INFO] [stdout]   |                                  ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/secure/prot.rs:9:39
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub const ReadWriteExec: Ty = winapi::um::winnt::PAGE_EXECUTE_READWRITE;
[INFO] [stdout]   |                                       ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/secure/prot.rs:10:39
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub const WriteCopyExec: Ty = winapi::um::winnt::PAGE_EXECUTE_WRITECOPY;
[INFO] [stdout]    |                                       ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/secure/prot.rs:11:31
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub const Guard: Ty = winapi::um::winnt::PAGE_GUARD;
[INFO] [stdout]    |                               ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/secure/prot.rs:12:33
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub const NoCache: Ty = winapi::um::winnt::PAGE_NOCACHE;
[INFO] [stdout]    |                                 ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/secure/prot.rs:13:38
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub const WriteCombine: Ty = winapi::um::winnt::PAGE_WRITECOMBINE;
[INFO] [stdout]    |                                      ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/secure/prot.rs:14:41
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub const RevertToFileMap: Ty = winapi::um::winnt::PAGE_REVERT_TO_FILE_MAP;
[INFO] [stdout]    |                                         ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/secure/prot.rs:15:40
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub const TargetsInvalid: Ty = winapi::um::winnt::PAGE_TARGETS_INVALID;
[INFO] [stdout]    |                                        ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/secure/prot.rs:16:41
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub const TargetsNoUpdate: Ty = winapi::um::winnt::PAGE_TARGETS_NO_UPDATE;
[INFO] [stdout]    |                                         ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MEM_RESERVE` in this scope
[INFO] [stdout]    --> src/allocator.rs:171:19
[INFO] [stdout]     |
[INFO] [stdout] 171 |         let typ = MEM_RESERVE | if commit { MEM_COMMIT } else { 0 };
[INFO] [stdout]     |                   ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MEM_COMMIT` in this scope
[INFO] [stdout]    --> src/allocator.rs:171:45
[INFO] [stdout]     |
[INFO] [stdout] 171 |         let typ = MEM_RESERVE | if commit { MEM_COMMIT } else { 0 };
[INFO] [stdout]     |                                             ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualAlloc` in this scope
[INFO] [stdout]    --> src/allocator.rs:173:19
[INFO] [stdout]     |
[INFO] [stdout] 173 |         let ptr = VirtualAlloc(ptr::null_mut(), size as usize, typ, perms) as *mut u8;
[INFO] [stdout]     |                   ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualFree` in this scope
[INFO] [stdout]    --> src/allocator.rs:186:19
[INFO] [stdout]     |
[INFO] [stdout] 186 |         let ret = VirtualFree(ptr as *mut _, 0, MEM_RELEASE);
[INFO] [stdout]     |                   ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MEM_RELEASE` in this scope
[INFO] [stdout]    --> src/allocator.rs:186:49
[INFO] [stdout]     |
[INFO] [stdout] 186 |         let ret = VirtualFree(ptr as *mut _, 0, MEM_RELEASE);
[INFO] [stdout]     |                                                 ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope
[INFO] [stdout]    --> src/allocator.rs:192:13
[INFO] [stdout]     |
[INFO] [stdout] 192 |             GetLastError()
[INFO] [stdout]     |             ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]    --> src/allocator.rs:200:28
[INFO] [stdout]     |
[INFO] [stdout] 200 |         let mut _old_perm: DWORD = 0;
[INFO] [stdout]     |                            ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualProtect` in this scope
[INFO] [stdout]    --> src/allocator.rs:205:19
[INFO] [stdout]     |
[INFO] [stdout] 205 |         let ret = VirtualProtect(ptr as *mut _, size as usize, perm, &mut _old_perm as *mut _);
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope
[INFO] [stdout]    --> src/allocator.rs:214:13
[INFO] [stdout]     |
[INFO] [stdout] 214 |             GetLastError()
[INFO] [stdout]     |             ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualAlloc` in this scope
[INFO] [stdout]    --> src/allocator.rs:318:15
[INFO] [stdout]     |
[INFO] [stdout] 318 |     let ret = VirtualAlloc(ptr as *mut _, size as usize, MEM_COMMIT, perms);
[INFO] [stdout]     |               ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MEM_COMMIT` in this scope
[INFO] [stdout]    --> src/allocator.rs:318:58
[INFO] [stdout]     |
[INFO] [stdout] 318 |     let ret = VirtualAlloc(ptr as *mut _, size as usize, MEM_COMMIT, perms);
[INFO] [stdout]     |                                                          ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualFree` in this scope
[INFO] [stdout]    --> src/allocator.rs:325:15
[INFO] [stdout]     |
[INFO] [stdout] 325 |     let ret = VirtualFree(ptr as *mut _, size as usize, MEM_DECOMMIT);
[INFO] [stdout]     |               ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `MEM_DECOMMIT` in this scope
[INFO] [stdout]    --> src/allocator.rs:325:57
[INFO] [stdout]     |
[INFO] [stdout] 325 |     let ret = VirtualFree(ptr as *mut _, size as usize, MEM_DECOMMIT);
[INFO] [stdout]     |                                                         ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope
[INFO] [stdout]    --> src/allocator.rs:332:9
[INFO] [stdout]     |
[INFO] [stdout] 332 |         GetLastError()
[INFO] [stdout]     |         ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]    --> src/allocator.rs:342:24
[INFO] [stdout]     |
[INFO] [stdout] 342 |     let mut _old_perm: DWORD = 0;
[INFO] [stdout]     |                        ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualProtect` in this scope
[INFO] [stdout]    --> src/allocator.rs:347:15
[INFO] [stdout]     |
[INFO] [stdout] 347 |     let ret = VirtualProtect(ptr as *mut _, size as usize, perm, &mut _old_perm as *mut _);
[INFO] [stdout]     |               ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope
[INFO] [stdout]    --> src/allocator.rs:356:9
[INFO] [stdout]     |
[INFO] [stdout] 356 |         GetLastError()
[INFO] [stdout]     |         ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualQuery` in this scope
[INFO] [stdout]    --> src/allocator.rs:391:23
[INFO] [stdout]     |
[INFO] [stdout] 391 |             let ret = VirtualQuery(ptr as *mut _, &mut meminfo as *mut _, mbi_size as usize);
[INFO] [stdout]     |                       ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualLock` in this scope
[INFO] [stdout]   --> src/secure/alloc.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 23 |     VirtualLock(addr as LPVOID, len as usize) != 0
[INFO] [stdout]    |     ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope
[INFO] [stdout]   --> src/secure/alloc.rs:23:25
[INFO] [stdout]    |
[INFO] [stdout] 23 |     VirtualLock(addr as LPVOID, len as usize) != 0
[INFO] [stdout]    |                         ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualUnlock` in this scope
[INFO] [stdout]   --> src/secure/alloc.rs:28:5
[INFO] [stdout]    |
[INFO] [stdout] 28 |     VirtualUnlock(addr as LPVOID, len as usize) != 0
[INFO] [stdout]    |     ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope
[INFO] [stdout]   --> src/secure/alloc.rs:28:27
[INFO] [stdout]    |
[INFO] [stdout] 28 |     VirtualUnlock(addr as LPVOID, len as usize) != 0
[INFO] [stdout]    |                           ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Ty` in module `prot`
[INFO] [stdout]   --> src/secure/alloc.rs:83:67
[INFO] [stdout]    |
[INFO] [stdout] 83 | pub unsafe fn mprotect<T: ?Sized>(memptr: NonNull<T>, prot: prot::Ty) -> bool {
[INFO] [stdout]    |                                                                   ^^ not found in `prot`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Ty` in module `prot`
[INFO] [stdout]    --> src/secure/alloc.rs:109:63
[INFO] [stdout]     |
[INFO] [stdout] 109 | pub unsafe fn _mprotect(ptr: *mut u8, len: usize, prot: prot::Ty) -> bool {
[INFO] [stdout]     |                                                               ^^ not found in `prot`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]    --> src/secure/alloc.rs:110:38
[INFO] [stdout]     |
[INFO] [stdout] 109 | pub unsafe fn _mprotect(ptr: *mut u8, len: usize, prot: prot::Ty) -> bool {
[INFO] [stdout]     |                        - help: you might be missing a type parameter: `<DWORD>`
[INFO] [stdout] 110 |     let mut old = mem::MaybeUninit::<DWORD>::uninit();
[INFO] [stdout]     |                                      ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualProtect` in this scope
[INFO] [stdout]    --> src/secure/alloc.rs:112:5
[INFO] [stdout]     |
[INFO] [stdout] 112 |     VirtualProtect(
[INFO] [stdout]     |     ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope
[INFO] [stdout]    --> src/secure/alloc.rs:113:16
[INFO] [stdout]     |
[INFO] [stdout] 113 |         ptr as LPVOID,
[INFO] [stdout]     |                ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `SIZE_T` in this scope
[INFO] [stdout]    --> src/secure/alloc.rs:114:16
[INFO] [stdout]     |
[INFO] [stdout] 114 |         len as SIZE_T,
[INFO] [stdout]     |                ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]    --> src/secure/alloc.rs:115:17
[INFO] [stdout]     |
[INFO] [stdout] 115 |         prot as DWORD,
[INFO] [stdout]     |                 ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Ty` in this scope
[INFO] [stdout]  --> src/secure/prot.rs:3:21
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub const NoAccess: Ty = winapi::um::winnt::PAGE_NOACCESS;
[INFO] [stdout]   |                     ^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Ty` in this scope
[INFO] [stdout]  --> src/secure/prot.rs:4:21
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub const ReadOnly: Ty = winapi::um::winnt::PAGE_READONLY;
[INFO] [stdout]   |                     ^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Ty` in this scope
[INFO] [stdout]  --> src/secure/prot.rs:5:22
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub const ReadWrite: Ty = winapi::um::winnt::PAGE_READWRITE;
[INFO] [stdout]   |                      ^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Ty` in this scope
[INFO] [stdout]  --> src/secure/prot.rs:6:22
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub const WriteCopy: Ty = winapi::um::winnt::PAGE_WRITECOPY;
[INFO] [stdout]   |                      ^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Ty` in this scope
[INFO] [stdout]  --> src/secure/prot.rs:7:20
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub const Execute: Ty = winapi::um::winnt::PAGE_EXECUTE;
[INFO] [stdout]   |                    ^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Ty` in this scope
[INFO] [stdout]  --> src/secure/prot.rs:8:21
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub const ReadExec: Ty = winapi::um::winnt::PAGE_EXECUTE_READ;
[INFO] [stdout]   |                     ^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Ty` in this scope
[INFO] [stdout]  --> src/secure/prot.rs:9:26
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub const ReadWriteExec: Ty = winapi::um::winnt::PAGE_EXECUTE_READWRITE;
[INFO] [stdout]   |                          ^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Ty` in this scope
[INFO] [stdout]   --> src/secure/prot.rs:10:26
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub const WriteCopyExec: Ty = winapi::um::winnt::PAGE_EXECUTE_WRITECOPY;
[INFO] [stdout]    |                          ^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Ty` in this scope
[INFO] [stdout]   --> src/secure/prot.rs:11:18
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub const Guard: Ty = winapi::um::winnt::PAGE_GUARD;
[INFO] [stdout]    |                  ^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Ty` in this scope
[INFO] [stdout]   --> src/secure/prot.rs:12:20
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub const NoCache: Ty = winapi::um::winnt::PAGE_NOCACHE;
[INFO] [stdout]    |                    ^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Ty` in this scope
[INFO] [stdout]   --> src/secure/prot.rs:13:25
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub const WriteCombine: Ty = winapi::um::winnt::PAGE_WRITECOMBINE;
[INFO] [stdout]    |                         ^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Ty` in this scope
[INFO] [stdout]   --> src/secure/prot.rs:14:28
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub const RevertToFileMap: Ty = winapi::um::winnt::PAGE_REVERT_TO_FILE_MAP;
[INFO] [stdout]    |                            ^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Ty` in this scope
[INFO] [stdout]   --> src/secure/prot.rs:15:27
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub const TargetsInvalid: Ty = winapi::um::winnt::PAGE_TARGETS_INVALID;
[INFO] [stdout]    |                           ^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Ty` in this scope
[INFO] [stdout]   --> src/secure/prot.rs:16:28
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub const TargetsNoUpdate: Ty = winapi::um::winnt::PAGE_TARGETS_NO_UPDATE;
[INFO] [stdout]    |                            ^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::traits::Allocs`
[INFO] [stdout]  --> src/allocator.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::traits::Allocs;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 74 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `allocator`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "b185ee8aac79da16377a2724476898a8fc42290a730867bb741ec38f8b67d8fe", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b185ee8aac79da16377a2724476898a8fc42290a730867bb741ec38f8b67d8fe", kill_on_drop: false }`
[INFO] [stdout] b185ee8aac79da16377a2724476898a8fc42290a730867bb741ec38f8b67d8fe
